func golang.org/x/net/http2.streamError
24 uses
golang.org/x/net/http2 (current package)
errors.go#L82: func streamError(id uint32, code ErrCode) StreamError {
frame.go#L984: return nil, streamError(fh.StreamID, ErrCodeProtocol)
frame.go#L1070: return nil, streamError(fh.StreamID, ErrCodeProtocol)
server.go#L1376: sc.resetStream(streamError(st.id, ErrCodeNo))
server.go#L1589: return sc.countError("data_flow", streamError(f.Header().StreamID, ErrCodeFlowControl))
server.go#L1668: return sc.countError("bad_flow", streamError(f.StreamID, ErrCodeFlowControl))
server.go#L1693: sc.closeStream(st, streamError(f.StreamID, f.ErrCode))
server.go#L1870: return sc.countError("data_flow", streamError(id, ErrCodeFlowControl))
server.go#L1878: return sc.countError("closed", streamError(id, ErrCodeStreamClosed))
server.go#L1887: return sc.countError("data_flow", streamError(id, ErrCodeFlowControl))
server.go#L1895: return sc.countError("send_too_much", streamError(id, ErrCodeProtocol))
server.go#L1900: return sc.countError("flow_on_data_length", streamError(id, ErrCodeFlowControl))
server.go#L2025: return sc.countError("headers_half_closed", streamError(id, ErrCodeStreamClosed))
server.go#L2053: return sc.countError("over_max_streams", streamError(id, ErrCodeProtocol))
server.go#L2060: return sc.countError("over_max_streams_race", streamError(id, ErrCodeRefusedStream))
server.go#L2142: return sc.countError("trailers_not_ended", streamError(st.id, ErrCodeProtocol))
server.go#L2146: return sc.countError("trailers_pseudo", streamError(st.id, ErrCodeProtocol))
server.go#L2155: return sc.countError("trailers_bogus", streamError(st.id, ErrCodeProtocol))
server.go#L2170: return sc.countError("priority", streamError(streamID, ErrCodeProtocol))
server.go#L2232: return nil, nil, sc.countError("bad_connect", streamError(f.StreamID, ErrCodeProtocol))
server.go#L2238: return nil, nil, sc.countError("bad_connect", streamError(f.StreamID, ErrCodeProtocol))
server.go#L2251: return nil, nil, sc.countError("bad_path_method", streamError(f.StreamID, ErrCodeProtocol))
server.go#L2298: return nil, nil, sc.countError(res.InvalidReason, streamError(st.id, ErrCodeProtocol))
transport.go#L2913: serr := streamError(cs.ID, f.ErrCode)